MAINTAINERCLEANFILES = Makefile.in

THEME_NAME=default
EDJE_CC = @edje_cc@
EDJE_FLAGS = -v -id $(top_srcdir)/data/themes/$(THEME_NAME)/images \
                -fd $(top_srcdir)/data/themes/$(THEME_NAME)/fonts

filesdir = $(pkgdatadir)/themes
files_DATA = $(THEME_NAME).edj

EXTRA_DIST = $(THEME_NAME).edc \
             icons.edc \
             elm.edc \
             browser.edc \
             music_player.edc \
             video_player.edc \
             weather.edc \
\
             images/background.jpg \
             images/background2.jpg \
             images/circle_shade.png \
             images/titlebar.png \
             images/titlebar_shadow.png \
             images/frame.png \
             images/frame2.png \
             images/progress_bar_content.png \
\
             images/icon_enna.png \
             images/icon_config.png \
             images/icon_module.png \
             images/icon_music.png \
             images/icon_video.png \
             images/icon_ok.png \
             images/icon_cancel.png \
             images/icon_folder.png \
             images/icon_folder_add.png \
             images/icon_add.png \
\
             images/icon_shutdown.png \
             images/icon_hibernate.png \
\
             images/icon_dev_hdd.png \
\
             images/music_album.png \
\
             images/bt_sm_base1.png \
             images/bt_sm_shine.png \
             images/bt_sm_hilight.png \
             images/bt_base1.png \
             images/bt_base2.png \
             images/bt_hilight.png \
             images/bt_shine.png \
             images/bt_glow.png \
             images/bt_sm_base2.png \
\
             images/sb_runnerh.png \
             images/sb_runnerv.png \
\
             images/sl_bg.png \
             images/sl_bg_over.png \
             images/sl_bt_0.png \
             images/sl_bt_1.png \
             images/sl_bt_2.png \
             images/sl_bt2_0_0.png \
             images/sl_bt2_0_1.png \
             images/sl_bt2_0_2.png \
             images/sl_bt2_1.png \
             images/sl_bt2_2.png \
             images/sl_units.png \
\
             images/icon_weather.png \
             images/weather_bg_fall.jpg \
             images/weather_bg_winter.jpg \
             images/weather_bg_summer.jpg \
             images/weather_bg_spring.jpg \
             images/weather_unknow.png \
             images/weather_rain.png \
             images/weather_windy.png \
             images/weather_sun_mostly_cloudy.png \
             images/weather_sun_light_clouds.png \
             images/weather_rain_storm.png \
             images/weather_snow.png \
             images/weather_light_snow.png \
             images/weather_sunny.png \
             images/weather_cloudy.png \
             images/weather_sun_clouds.png \
             images/weather_foggy.png \
\
             images/mp_stop.png \
             images/mp_play.png \
             images/mp_rewind.png \
             images/mp_forward.png \
             images/mp_pause.png \
             images/mp_prev.png \
             images/mp_next.png \
\
             fonts/content.ttf \
             fonts/content_bold.ttf

$(THEME_NAME).edj: Makefile $(EXTRA_DIST)
	$(EDJE_CC) $(EDJE_FLAGS) \
	$(top_srcdir)/data/themes/$(THEME_NAME)/$(THEME_NAME).edc \
	$(top_builddir)/data/themes/$(THEME_NAME)/$(THEME_NAME).edj

clean-local:
	rm -f *.edj
